%rebase layout title='SA SYSTEM'
<h1 align="center">Server Details</h1>
<table width="100%" cellpadding="20">
  <tr>
    <td valign="top">
      <form action="{{appurl}}/{{server.sid}}" method="post">
        <table width="100%" border="0">
          <tr>
            <th>ID</th>
            <td>{{server.sid}}</td>
          </tr>
          <tr>
            <th>Name</th>
            <td><input name="name"  value="{{server.name}}"></td>
          </tr>
          <tr>
            <th>Location</th>
            <td><input name="location"  value="{{server.location}}"></td>
          </tr>
          <tr>
            <th>Eth0_ip</th>
            <td><input name="eth0_ip"  value="{{server.eth0_ip}}"></td>
          </tr>
          <tr>
            <th>Eth1_ip</th>
            <td><input name="eth1_ip"  value="{{server.eth1_ip}}" ></td>
          </tr>
          <tr>
            <th>Rcc_ip</th>
            <td><input name="rcc_ip"  value="{{server.rcc_ip}}" ></td>
          </tr>
          <tr>
            <th>Machine</th>
            <td><input name="machine_info"  value="{{server.machine_info}}"></td>
          </tr>
          <tr>
            <th>CPU</th>
            <td><input name="cpu_info"  value="{{server.cpu_info}}"></td>
          </tr>
          <tr>
            <th>MEM</th>
            <td><input name="mem_info"  value="{{server.mem_info}}"></td>
          </tr>
          <tr>
            <th>Disk</th>
            <td><input name="hd_info"  value="{{server.hd_info}}"></td>
          </tr>
          <tr>
            <th>OS</th>
            <td><input name="os_info"  value="{{server.os_info}}"></td>
          </tr>
          <tr>
            <th>Kernel</th>
            <td><input name="kernel_info"  value="{{server.kernel_info}}"></td>
          </tr>
          <tr>
            <th>Description</th>
            <td><input name="desc"  value="{{server.desc}}"></td>
          </tr>
          <tr>
            <th></th>
            <td><input type="submit" name="submit" value="OK" /></td>
          </tr>
        </table>
      </form>
    </td>
    <td>
        <table width="100%" border="0">
          <tr>
            <th>Port</th>
            <th>Service</th>
          </tr>
          %for ls in lservice:
          <tr>
            <td>{{ls.port}}</td>
            <td>{{ls.servicename}}</td>
          </tr>
          %end
        </table>

    </td>
  </tr>
</table>
